@charset "utf-8";
@import './base/reset.scss';
@import './layout/color_variables';
@import './module/breadcumb.scss';
@import './module/mycoursesnav.scss';

/***************
通用样式标准

jx代表教学
页头：jx-header
页面主体： jx-main
内容： jx-content

****************/

//清浮动
.clear {
    clear: both;
}

.clear-fix:after {
    display: block;
    content: '';
    clear: both;
}

.clearfix:after {
    display: block;
    content: '';
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

//文字颜色快捷
.c-red {
    color: $red;
    padding: 5px 0;
}

.c-blue {
    color: $blue;
}

.c-btn-blue {
    color: $btn-blue;
}

.fs14 {
    font-size: $fs14;
}

.fs16 {
    font-size: $fs16;
}

.fs18 {
    font-size: $fs18;
}

.fs24 {
    font-size: $fs24;
}

.fbold {
    font-weight: bold;
}

.text-right {
    text-align: right!important;
}

.text-center {
    text-align: center!important;
}

.text-left {
    text-align: left!important;
}

a {
    color: $btn-blue;
    &:hover {
        color: $blue;
    }
}

//主体宽度
$width:1200px;
//按钮相关(按钮具体大小 请根据设计图进行配置)
$button-width:auto !default;
$button-height:32px !default;
$button-size:14px !default;
$button-color:$btn-blue !default;
$buttin-border:1px solid $btn-blue !default;
$buttin-padding:0 16px !default;
.button-style {
    border: $buttin-border;
    height: $button-height;
    width: $button-width;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    color: $button-color;
    cursor: pointer;
    border-radius: 20px;
    padding: $buttin-padding;
    font-size: $button-size;
    display: inline-block;
    box-sizing: border-box;
}

.button-style:hover {
    background: $button-color;
    color: $white;
}

// 标题蓝色色块
.blueStreak {
    background: $blue;
    width: 2px;
    float: left;
    height: 15px;
}

//开关颜色
.el-switch.is-checked .el-switch__core {
    border-color: #1ac48a;
    background-color: #1ac48a;
}

//表单样式覆盖
// 输入框配置
$input-width:150px !default;
$input-height:32px !default;
//表单label样式
.el-form-item__label {
    width: auto!important;
    padding-left: 10px;
}

.el-input__inner {
    width: $input-width;
    height: $input-height;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
}

.el-date-editor.el-input,
.el-date-editor.el-input__inner {
    width: $input-width;
}

.el-textarea__inner {
    border: 1px solid #d9d9d9;
}

textarea {
    background: #fff;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: $btn-blue;
    border-color: $btn-blue;
}

.el-checkbox__inner:hover {
    border-color: $btn-blue;
}

.el-radio__input.is-checked .el-radio__inner {
    border-color: $btn-blue;
    background: $btn-blue;
}

.el-radio__inner {
    border-color: $btn-blue;
}

.el-radio__input.is-checked+.el-radio__label {
    color: $blue;
}

//标题
.jx-title {
    color: $title-gray;
    @include fs($fs16);
    font-weight: normal;
    line-height: 50px;
}

//通用白色内容盒子
.jx-content {
    width: $width;
    box-sizing: border-box;
    box-shadow: $boxShadow;
    background: #fff;
    border-radius: 5px;
    padding: 30px 40px;
    margin: 0 auto 20px;
    color: $title-gray;
    line-height: 30px;
    font-size: 14px;
}

.jx-container{
    width: 1200px;
    margin: 0 auto;
}

//首页内容盒子
.jx-index-container {
    position: relative;
    // top: 60px;
}

//表格覆盖样式
.el-table {
    .el-button--text {
        color: #385899;
        font-size: 14px;
    }
    .el-checkbox__inner {
        border: 1px solid #8e8e8e;
    }
    th {
        background: #fafafa;
        padding: 14px 0;
    }
    td {
        padding: 10px 0;
    }
    th,
    td {
        text-align: center;
        color: #727272;
        font-size: 14px;
    }
    th.is-leaf {
        border-bottom: 1px solid #e8e8e8;
    }
}

//分页样式
.el-pagination {
    position: relative;
    padding: 30px;
    text-align: right;
    .el-input__inner {
        width: 46px;
    }
    .el-pager {
        li.active+li {
            border-left: 1px solid #d9d9d9;
        }
        li.active {
            color: #1277eb;
            border: 1px solid #1277eb;
        }
    }
    .el-pager li,
    .btn-prev,
    .btn-next {
        border: 1px solid #d9d9d9;
        font-weight: normal;
        color: #727272;
        margin-right: 8px;
        min-width: 30px;
        height: 30px;
        line-height: 28px;
        font-size: 12px;
        padding: 0 4px;
        box-sizing: border-box;
        text-align: center;
        border-radius: 4px;
        &:hover {
            color: #1277eb;
        }
    }
}

//弹窗覆盖样式
.el-dialog {
    border-radius: 5px;
    .el-dialog__header {
        background: #070e28;
        border-radius: 5px 5px 0 0;
        height: 46px;
        line-height: 46px;
        padding: 0 20px;
        .el-dialog__title {
            color: #fff;
            font-size: 14px;
        }
    }
    .el-dialog__footer {
        padding: 10px 20px 36px;
    }
    .el-dialog__headerbtn {
        top: 16px;
        .el-dialog__close {
            color: #fff;
            &:hover {
                color: #fff;
            }
        }
    }
}

//markdown样式覆盖
.v-note-wrapper .v-note-op {
    background: $bg-gray!important;
}

.v-note-wrapper .v-note-op.shadow,
.v-note-wrapper .v-note-panel.shadow {
    box-shadow: none!important;
    border: 1px solid $border-gray!important;
}

.v-note-wrapper .v-note-panel.shadow {
    border-top: 0!important;
}

//z-index
//v-note-wrapper markdown-body
